package com.caiying.dota.spider.parser.youku;


public class Youku {
	public static final String base_url = "http://i.youku.com";
	
	enum TYPE {
		hd2, mp4, flv;
	}
	
	public static void test(){
		String url = "http://v.youku.com/player/getPlayList/VideoSegmentIDS/XMjcwNjYwNTIw";
//		AsyncHttpClient asyncHttpClient = new AsyncHttpClient();
//		asyncHttpClient.get("http://www.baidu.com", new AsyncHttpResponseHandler(){
//			@Override
//			public void onSuccess(String content) {
//				Log.v("", "content: "+content);
//				try {
//					List<VideoSegment> VideoSegments =  YoukuParser.getRealDownloadUrl(content);
//					for(VideoSegment VideoSegment : VideoSegments){
//						Log.v("", "url ---> " + VideoSegment.youUrl);
//					}
//				} catch (Exception e) {
//					e.printStackTrace();
//				}
//			}
//		});
	}
	
}
